/* Extends Classic theme
   ========================================================================== */

@import url("../classic/textpattern.css");


/* Twisties
   ========================================================================== */

.txp-summary a {
    padding: 0 12px 0 0;
    text-decoration: none;
    background: url("img/expand-collapse.svg") no-repeat right -91px;
}

.txp-summary a:hover,
.txp-summary.expanded a {
    background-position: right 5px;
}


/* Header
   ========================================================================== */

#masthead {
    text-align: center;
}


/* Navigation
   ========================================================================== */

#nav {
    display: inline-block;
    text-align: left;
    margin: 0 auto;
    padding: 0 0 0 10em;
    background: url("../classic/img/textpattern.svg") no-repeat 0 50%;
    -webkit-background-size: 9em 2em;
    -moz-background-size: 9em 2em;
    -o-background-size: 9em 2em;
    background-size: 9em 2em;
}

[dir="rtl"] #nav {
    text-align: right;
}

#nav,
#nav ul {
    list-style: none;
}

#nav li {
    float: left;
}

[dir="rtl"] #nav li {
    float: right;
}

#nav > li.active {
    background: rgba(255, 255, 255, 0.25);
}

#nav a {
    padding: 0 1em;
    display: block;
    height: 2.63636363636364em;
    line-height: 2.63636363636364;
    color: #66330;
}

#nav a:hover {
    text-decoration: none;
}

#nav li ul {
    position: absolute;;
    left: -9999px;
    margin: 0 -1px;
    border: 1px solid;
    border-color: #e2a005 #999999 #999999 #cccccc;
    padding: 0;
    width: 15em;
    background-color: #ffffff;
    -webkit-box-shadow: 0 0.25em 0.4em rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0 0.25em 0.4em rgba(0, 0, 0, 0.15);
    box-shadow: 0 0.25em 0.4em rgba(0, 0, 0, 0.15);
}

[dir="rtl"] #nav li ul {
    left: auto;
    right: -9999px;
}

#nav li:hover,
#nav li.sfhover {
    background: rgba(255, 255, 255, 0.4);
}

#nav li:hover ul,
#nav li.sfhover ul {
    left: auto;
}

[dir="rtl"] #nav li:hover ul,
[dir="rtl"] #nav li.sfhover ul {
    right: auto;
}

#nav li li.active {
    font-weight: bold;
}

#nav li li a {
    width: 13em;
    height: 2em;
    line-height: 2em;
}

#nav li li a:hover {
    background-color: #ffffcc;
}
